package com.xl6667.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xl6667.domain.ResponseResult;
import com.xl6667.domain.entity.Link;

import java.util.List;

/**
* @author 熊磊
* @description 针对表【sg_link(友链)】的数据库操作Service
* @createDate 2024-03-15 19:16:46
*/
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();

    ResponseResult listLink(Integer pageNum,Integer pageSize,String name,String status);

    ResponseResult addLink(Link link);

    ResponseResult getLink(Long id);

    ResponseResult putLink(Link link);

    ResponseResult changeStatusLink(Link link);

    ResponseResult delLink(List<Long> ids);
}
